﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Library.BIZ
{
    public partial class ChiTietKhoBIZ : DAL.ChiTietKho
    {
        public int Add()
        {
            return DAL.ChiTietKhoDAL.Add(this);
        }

        public void Get(BIZ.SanPhamBIZ sanpham, DateTime ngay)
        {
            ChiTietKhoBIZ c = DAL.ChiTietKhoDAL.Get(sanpham, ngay);
            this.ID = c.ID;
            this.ID_SanPham = c.ID_SanPham;
            this.Ngay = c.Ngay;
            this.SoLuong = c.SoLuong;
        }

    }
}
